using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace PSE.Hosting.ServiceHoster.Services.DataContracts
{
    [DataContract(Namespace = "http://www.bovespa.com.br/ServiceHoster.Data", Name = "Package")]
    public class Package
    {
        #region Fields

        private int _id;
        private bool _start;
        private string _name;
        private string _domain;
        private string _userName;

        #endregion

        #region Public Members

        /// <summary>
        /// 
        /// </summary>
        [DataMember(IsRequired = true, Name = "Id", Order = 0)]
        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember(IsRequired = true, Name = "Start", Order = 1)]
        public bool Start
        {
            get { return _start; }
            set { _start = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember(IsRequired = true, Name = "Name", Order = 2)]
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember(IsRequired = true, Name = "Domain", Order = 3)]
        public string Domain
        {
            get { return _domain; }
            set { _domain = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember(IsRequired = true, Name = "UserName", Order = 4)]
        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        #endregion
    }
}
